
<div class="Breadcrumb">
	  <div class="Breadcrumb-i">您当前所在的位置：<span><a href="<?php echo base_url($this->_site_path.'/link');?>">合作伙伴表</a></span>&nbsp;>&nbsp;<span class="orange">列表</span> </div>               <div class="Breadcrumb-div">
       	   <ul>
           	   <li class="Breadcrumb-tj"><a href="<?php echo base_url( $this->_site_path.'/link/add' );?>" >添加</a></li>
           	   <li class="Breadcrumb-lb"><a href="<?php echo base_url( $this->_site_path.'/link' );?>" >列表</a></li>
           </ul>
        </div>
</div>

<?php $this->load->view_part($this->_site_path.'/link/search')?>

<form method="post" action="<?php echo base_url($this->_site_path.'/link/delete_all');?>">

	<table class="table table-striped table-condensed table-bordered">
		<thead>
			<tr class="table-thbg">
			<th>选择</th>
			<th>标题</th>
			<th>链接</th>
			<th>图片</th>
			<th>排序</th>
            <th>操作</th>
			</tr>
		</thead>
		<tbody>
			<?php foreach( $link_data as $single ) { ?>
			<tr>
				<td>
					<input name="ids[]" value="<?php echo $single['link_id']; ?>" type="checkbox" />
				</td>
				<td><?php echo $single['link_title']; ?></td>
				<td><?php echo $single['link_url']; ?></td>
				<td><?php echo $single['link_pic']; ?></td>
				<td><?php echo $single['link_sort']; ?></td>
				<td>
					<a href="<?php echo base_url("{$this->_site_path}/link/view/{$single['link_id']}"); ?>">查看</a>
					<a href="<?php echo base_url("{$this->_site_path}/link/edit/{$single['link_id']}"); ?>">修改</a>
					<a href="<?php echo base_url("{$this->_site_path}/link/delete/{$single['link_id']}"); ?>" onclick="return confirmDelete()">删除</a>
					
				</td>
			</tr>
		<?php } ?>
	</tbody>
	</table>
	<div class="li-ttle floa-Left">
		<ul>
			<li><label><input name="checkAll" type="checkbox" onclick="checkAllfuck()"/>&nbsp;全选</label></li>
			<li><label><input name="checkInverse" type="checkbox" onclick="checkInversefuck()"/>&nbsp;反选</label></li>
			<li><button type="submit"  class=" btn" onclick="return confirmDelete()"><span  class="btn-Bulkdelete">批量删除</span></button></li>
		</ul>
	</div> 
	<?php echo $pagination; ?>
</form>
